<template>
	<view class="container">
		<view class="content">
			<view v-html="content.content"></view>
		</view>
	</view>
</template>

<script>
	import {
		setting,
		getArticle
	} from '@/api/api.js'
	export default {
		data() {
			return {
				content: {}
			};
		},
		onLoad() {
			uni.setNavigationBarTitle({
				title: "关于我们"
			})
			this.getContent()
		},
		methods: {
			getContent() {
				getArticle({
					type: 4
				}).then(res => {
					console.log(res.data.data)
					this.content = res.data.data[0]
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		width: 100%;
		height: calc(100vh - var(--status-bar-height) - 88rpx);
		min-height: auto;
		background: url('../../static/image/mine/setting_bg.png') no-repeat center / cover;

		.content {
			padding: 40rpx;
		}
	}
</style>